package com.cy.bfzcommons.service;

import com.cy.bfzcommons.pojo.Rights;

import java.util.List;

public interface RightsService {
    List<Rights> getRights();

    List<Rights> selectFind(Integer level);

    String insertRights(Rights rights);

    String updateRights(Rights rights);

    void deleteById(Integer id,Integer level);

    List<Rights> selectRightsByName(String username);
}
